package JDKtest.java_lang_test.List;

import java.util.ArrayList;
import java.util.List;

public class test {

    public static void main(String[] args) {
        List<Integer> list = new ArrayList<>();
        list.add(1);
        list.add(2);
        list.add(3);
        System.out.println(list.get(1));
        System.out.println(list.size());
        list.remove(1);
        System.out.println(list.get(1));
        System.out.println(list.size());
        System.out.println(list.isEmpty());


    }
}
